package com.wanlian.router.net.netty2.model;

import com.wanlian.router.utils.JsonStringUtil;

public class Address {
	private String ip;
	private String protol;
	private int port;
	private String publickey;

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getProtol() {
		return protol;
	}

	public void setProtol(String protol) {
		this.protol = protol;
	}

	public int getPort() {
		return port;
	}

	public String getPublickey() {
		return publickey;
	}

	public void setPublickey(String publickey) {
		this.publickey = publickey;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String toString() {
		return JsonStringUtil.writeValueAsString(this);
	}

}
